//
//  Ext + UIBarButtonItem.swift
//  SinaProjectTest
//
//  Created by zhanghaifeng on 16/10/22.
//  Copyright © 2016年 BBSWaitting. All rights reserved.
//

import UIKit

extension UIBarButtonItem{
    
    convenience init(setHighLightImageName: String? = nil, title: String? = nil, target: Any?, action: Selector) {
        self.init()
        let btn = UIButton(setHighLightImageNamed: setHighLightImageName, title: title, target: target, action: action)
        self.customView = btn
    }
    
    
    
}
